/**
 * 此文件接收两个reducer 一个是sagaReducer一个是thunkReducer
 */
import { combineReducers } from 'redux'
import sagaReducer from './saga/reducers'

// conbineReducers接收一个对象，对象里面是一个一个小的reducer
const rootReducer = combineReducers({
    ...sagaReducer,
}) 

export default rootReducer